//
//  PhotoController.h
//  ToolFramework
//
//  Created by Apple on 2017/12/29.
//  Copyright © 2017年 apple. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^PhotoControllerDoneAction)(BOOL);
typedef void (^PhotoControllerImageDone)(UIImage *image);

@interface PhotoController : NSObject <UIImagePickerControllerDelegate , UINavigationControllerDelegate>

@property(nonatomic, copy) PhotoControllerDoneAction blockDone;
@property(nonatomic, copy) PhotoControllerImageDone blockImageDone;


+ (PhotoController *)sharedPhotoWithController:(UIViewController *)controller;

@end
